<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Oxygine: oxygine::Input Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Oxygine
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">2g game engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceoxygine.html">oxygine</a></li><li class="navelem"><a class="el" href="classoxygine_1_1_input.html">Input</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classoxygine_1_1_input-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">oxygine::Input Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9f749f9a1002ccda0ac3ad0f8c557b9e"><td class="memItemLeft" align="right" valign="top"><a id="a9f749f9a1002ccda0ac3ad0f8c557b9e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>cleanup</b> ()</td></tr>
<tr class="separator:a9f749f9a1002ccda0ac3ad0f8c557b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5462ccf1b334f85629381cc1909d276"><td class="memItemLeft" align="right" valign="top"><a id="aa5462ccf1b334f85629381cc1909d276"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiTouchEnabled</b> (bool en)</td></tr>
<tr class="separator:aa5462ccf1b334f85629381cc1909d276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1207624403b99df282464fc82ba648b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoxygine_1_1_input.html#a1207624403b99df282464fc82ba648b0">getTouchByIndex</a> (pointer_index index)</td></tr>
<tr class="separator:a1207624403b99df282464fc82ba648b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f79a141fcaf914f6528141e423b99dc"><td class="memItemLeft" align="right" valign="top"><a id="a9f79a141fcaf914f6528141e423b99dc"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>touchID2index</b> (int64 id)</td></tr>
<tr class="separator:a9f79a141fcaf914f6528141e423b99dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a307c2732dc7b1fe06fd723a7f220aeab"><td class="memItemLeft" align="right" valign="top"><a id="a307c2732dc7b1fe06fd723a7f220aeab"></a>
<a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getTouchByID</b> (int64 id)</td></tr>
<tr class="separator:a307c2732dc7b1fe06fd723a7f220aeab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15604a104e5a42ebdb6b9180e5bccdb5"><td class="memItemLeft" align="right" valign="top"><a id="a15604a104e5a42ebdb6b9180e5bccdb5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sendPointerButtonEvent</b> (spStage, MouseButton button, float x, float y, float pressure, int type, <a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a> *)</td></tr>
<tr class="separator:a15604a104e5a42ebdb6b9180e5bccdb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b589fba5eca202932ca561bade2ab0f"><td class="memItemLeft" align="right" valign="top"><a id="a9b589fba5eca202932ca561bade2ab0f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sendPointerMotionEvent</b> (spStage, float x, float y, float pressure, <a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a> *)</td></tr>
<tr class="separator:a9b589fba5eca202932ca561bade2ab0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4495e732a9fbc9d7e7efc1bc0dcb97ba"><td class="memItemLeft" align="right" valign="top"><a id="a4495e732a9fbc9d7e7efc1bc0dcb97ba"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sendPointerWheelEvent</b> (spStage, const <a class="el" href="classoxygine_1_1_vector_t2.html">Vector2</a> &amp;dir, <a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a> *)</td></tr>
<tr class="separator:a4495e732a9fbc9d7e7efc1bc0dcb97ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1116d5d5be57312711ed41feb04b0eb8"><td class="memItemLeft" align="right" valign="top"><a id="a1116d5d5be57312711ed41feb04b0eb8"></a>
<a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_pointers</b> [MAX_TOUCHES]</td></tr>
<tr class="separator:a1116d5d5be57312711ed41feb04b0eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609ecdf06d0b04ab2119e5be04c225fb"><td class="memItemLeft" align="right" valign="top"><a id="a609ecdf06d0b04ab2119e5be04c225fb"></a>
<a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_pointerMouse</b></td></tr>
<tr class="separator:a609ecdf06d0b04ab2119e5be04c225fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb0b906bdf801e9187bce21190707184"><td class="memItemLeft" align="right" valign="top"><a id="aeb0b906bdf801e9187bce21190707184"></a>
int64&#160;</td><td class="memItemRight" valign="bottom"><b>_ids</b> [MAX_TOUCHES+1]</td></tr>
<tr class="separator:aeb0b906bdf801e9187bce21190707184"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a215d3ac39de097cd076a674a4c4e4"><td class="memItemLeft" align="right" valign="top"><a id="a30a215d3ac39de097cd076a674a4c4e4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>_multiTouch</b></td></tr>
<tr class="separator:a30a215d3ac39de097cd076a674a4c4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:af553b65cb0b6c588d7b0969078b9a0e1"><td class="memItemLeft" align="right" valign="top"><a id="af553b65cb0b6c588d7b0969078b9a0e1"></a>
static <a class="el" href="classoxygine_1_1_input.html">Input</a>&#160;</td><td class="memItemRight" valign="bottom"><b>instance</b></td></tr>
<tr class="separator:af553b65cb0b6c588d7b0969078b9a0e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1207624403b99df282464fc82ba648b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1207624403b99df282464fc82ba648b0">&#9670;&nbsp;</a></span>getTouchByIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classoxygine_1_1_pointer_state.html">PointerState</a>* oxygine::Input::getTouchByIndex </td>
          <td>(</td>
          <td class="paramtype">pointer_index&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>index should be in range [1, MAX_TOUCHES] </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>oxygine/src/oxygine/<a class="el" href="_input_8h_source.html">Input.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 4 2018 03:50:07 for Oxygine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
